package com.luo.backend.dto;

/**
 * 文件上传响应DTO
 */
public class UploadResponse {
    
    private String filename;
    private String originalName;
    private String url;
    private String fullUrl;
    private Long size;
    private String mimeType;
    private String hash;
    
    // 构造函数
    public UploadResponse() {}
    
    public UploadResponse(String filename, String originalName, String url, String fullUrl, 
                         Long size, String mimeType, String hash) {
        this.filename = filename;
        this.originalName = originalName;
        this.url = url;
        this.fullUrl = fullUrl;
        this.size = size;
        this.mimeType = mimeType;
        this.hash = hash;
    }
    
    // Getters and Setters
    public String getFilename() { return filename; }
    public void setFilename(String filename) { this.filename = filename; }
    
    public String getOriginalName() { return originalName; }
    public void setOriginalName(String originalName) { this.originalName = originalName; }
    
    public String getUrl() { return url; }
    public void setUrl(String url) { this.url = url; }
    
    public String getFullUrl() { return fullUrl; }
    public void setFullUrl(String fullUrl) { this.fullUrl = fullUrl; }
    
    public Long getSize() { return size; }
    public void setSize(Long size) { this.size = size; }
    
    public String getMimeType() { return mimeType; }
    public void setMimeType(String mimeType) { this.mimeType = mimeType; }
    
    public String getHash() { return hash; }
    public void setHash(String hash) { this.hash = hash; }
}

